Skip to content

Fix bin/dotc checkjar of wrong project #1134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2016

Conversation

felixmulder
Copy link
Contributor

Noticed that bin/dotc wasn't working for the "Getting Started" instructions anymore. The failing line was:

checkjar $INTERFACES_JAR interfaces/package interfaces

Which generated the error:

[Projects/dotty master] ./bin/dotc tests/pos/HelloWorld.scala
The script is going to build the required jar file /Users/fixel/Projects/dotty/bin/../interfaces/target/dotty-interfaces-0.1-SNAPSHOT.jar by running "sbt interfaces/package"
[info] Loading global plugins from /Users/fixel/.sbt/0.13/plugins
[info] Loading project definition from /Users/fixel/Projects/dotty/project
[info] Set current project to dotty (in build file:/Users/fixel/Projects/dotty/)
[error] Expected ID character
[error] Not a valid command: interfaces
[error] Expected project ID
[error] Expected configuration
[error] Expected ':' (if selecting a configuration)
[error] Expected key
[error] Not a valid key: interfaces (similar: signedArtifacts, signed-artifacts)
[error] interfaces/package
[error]           ^
/Users/fixel/Projects/dotty
The required jar file has not been built by sbt. Please run "sbt interfaces/package"

review: @smarter

@smarter
Copy link
Member

smarter commented Mar 1, 2016

Thanks! Merging because the sole test failure is due to an out of memory error.

smarter added a commit that referenced this pull request Mar 1, 2016
Fix `bin/dotc` checkjar of wrong project
@smarter smarter merged commit 806ea74 into scala:master Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants